package com.uyayo.cms.service;

import com.uyayo.cms.entity.CmsArticleCategory;
import com.uyayo.cms.model.CmsArticleCategoryCondition;
import com.uyayo.framework.pagehelper.pojo.PageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CmsArticleCategoryService {


	CmsArticleCategory getArticleCategoryById(Long id) throws Exception;

	List<CmsArticleCategory> selectArticleCategory(CmsArticleCategoryCondition cmsArticleCategoryCondition);

	PageBean<CmsArticleCategory> selectArticleCategoryByPaging(Integer page, Integer rows, String sort, String order, CmsArticleCategoryCondition cmsArticleCategoryCondition);

	int createCmsArticleCategory(CmsArticleCategory cmsArticleCategory) throws Exception;

	CmsArticleCategory selectOne(CmsArticleCategory cmsArticleCategory);

	int updateArticleCategory(CmsArticleCategory cmsArticleCategory) throws Exception;

	int deleteArticleCategory(Long id);

	List<CmsArticleCategory> selectCmsCategoryListByArticleId(Long articleId);

}
